package cn.micro.request.log.constant;

import static cn.micro.core.constant.Cants.SPLIT_COLON;
import static cn.micro.core.constant.Cants.STRING_EMPTY;

/**
 * 请求常量
 */
public class Cants {

    public final static String REQUEST_OK = "ok";
    public final static String REQUEST_OK_CODE = "00000";
    public final static String REQUEST_OK_MSG = "请求成功";
    public final static String REQUEST_FAIL = "fail";
    public final static String REQUEST_FAIL_CODE = "99999";
    public final static String REQUEST_FAIL_MSG = "请求失败";

    public final static String X_CURRENT_REQUEST_LOG = STRING_EMPTY;

    public final static String X_CURRENT_HEADERS = "x-request" + SPLIT_COLON + "header";

    public final static String X_CURRENT_REQUEST_BODY = "x-request" + SPLIT_COLON + "raw";

    public final static String X_CURRENT_REQUEST_PARAMETERS = "x-request" + SPLIT_COLON + "param";

    public final static String X_CURRENT_REQUEST_LOGGING = "x-request" + SPLIT_COLON + "log";

}
